package com.itheima.day20.demo05;

import java.io.File;

public class Test03 {
    public static final String sourcePath = "D:\\day04\\A星算法";
    public static final String DES_FILE = "D:\\day04\\123456";

    public static void main(String[] args) {
        File file = new File(sourcePath);
        String[] files = file.list();
        for (int i = 0; i < files.length; i++) {
            System.out.println(files[i]);
        }
        for (String f : files) {
            System.out.println(f);

        }
    }
}
